import store from '@/store/index'

export function checkButtonAccess(accessName) {
	let buttonAccess = store.state.d2admin.menu.buttonAccess
	return buttonAccess.indexOf(accessName) > -1
}
